<?php
use lib\model\Model;
class Evento extends Model {
	public $nombre  = null;
	public $descripcion  = null;
	public $fecha  = null;
	public $hora = null;
	public $categoria_id = null;		
	public $lugar_id = null;
	public $imagen = null;
    public $token = null;

	
	public function categorias($categoria_id){
		return $this->Dao->categorias($categoria_id);
	}

	public function lugar($lugar_id){
		return $this->Dao->lugares($lugar_id);
	}

	public function  entradasXEvento(\lib\dao\query\Query $Q){
		return $this->Dao->entradasXEvento($this,$Q);
	}

	public function  detalleXSector(\lib\dao\query\Query $Q){
		return $this->Dao->detalleXSector($this,$Q);
	}

	public function detalleEvento(\lib\dao\query\Query $Q){
		return $this->Dao->detalleEvento($this,$Q);
	}
        
    public function eventoActivo(\lib\dao\query\Query $Q){
        return $this->Dao->eventoActivo($this,$Q);
    }
}
